package com.bestcem.xm.txtanls.controller.vo;

import com.bestcem.xm.txtanls.grpc.service.param.record.QueryConditionParam;
import com.bestcem.xm.txtanls.service.dto.chart.TimeRangeDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author liheng
 * @version v2.0
 * @date 2021/5/14 16:23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DownloadRecordQueryVO {


    private TimeRangeDTO timeRangeDTO;

    @NotNull(message = "查询条件不能为空")
    @Valid
    private QueryConditionParam queryParam;
}
